home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / zip82c.arc / ZIP.DOC next >
Encoding:
Text File  |  1985-07-13  |  29.8 KB  |  685 lines

  1. ----------------------------------------------------------------
  2.        ZIP - Integrated File Handler Package - Version 0.7
  3. ----------------------------------------------------------------
  4.  
  5.      An All-purpose Directory Utility and Command Shell for
  6.           the IBM Personal Computer & Close Compatibles
  7.  
  8.                        By Edward V.  Dong
  9.                           July 08, 1985
  10.  
  11.   Copyright (c) 1985 by Edward V.  Dong.  All rights reserved.
  12.  
  13. ----------------------------------------------------------------
  14.  
  15. 1.0     INTRODUCTION
  16.  
  17.      The  ZIP  program  is  an  integrated  file handling utility
  18. package, written mainly in DeSmet C version 2.3 for PC/MS-DOS 2.0
  19. or  later, with some assembly language subroutines embedded.  The
  20. following is a brief summary of functions currently supported:
  21.  
  22.     o   Sorted directory, showing hidden, read-only, system files.
  23.     o   File attribute read/set, to hide/unhide files, etc.
  24.     o   View text files, standard ASCII.
  25.     o   View WordStar files in addition to standard ASCII.
  26.     o   Edit text files, with limited screen editing capabilities.
  27.     o   Hexadecimal/ASCII dump of files.
  28.     o   Copy/print/delete multiple files.
  29.     o   Rename files.
  30.     o   Squeeze/unsqueeze files.
  31.     o   Library functions: list libraries, extract members.
  32.     o   Add members to existing libraries; create libraries.
  33.     o   Ability to execute files (.BAT, .COM, .EXE).
  34.     o   300/1200 BPS ASCII/Xmodem telecommunications.
  35.  
  36.      The following are additional features that may be  added  in
  37. the future.
  38.  
  39.     o   Label disks.
  40.     o   Auto-catalogue files to master directory, with comments.
  41.  
  42.      ZIP version 0.7C is currently distributed as "User Supported
  43. Software",  under the "FreeWare" or "ShareWare" concepts.  With a
  44. few restrictions, this allows the program, although  copyrighted,
  45. to  be  freely copied and distributed.  Version numbers less than
  46. 1.0 are beta test versions, where user comments and  testing  are
  47. solicited.   When  sufficient testing (and fixes and/or upgrades)
  48. has been completed, the version will go to 1.0 or higher.   Whole
  49. numbers  will  indicate  a significant upgrade or revision, while
  50. fractional numbers will indicate minor upgrades or bug fixes.
  51.  
  52.      The  current version number is identified in the top line of
  53. the ZIP display as a decimal number enclosed in  brackets,  e.g.,
  54. [0.7].   When  followed  by  the  letter  "C", the version number
  55. indicates a version done in the "C" language;  else  indicates  a
  56. version done in Turbo Pascal.
  57.  
  58.      Version history is as follows:
  59.  
  60.    o Version 0.0 - original beta version.
  61.    o Version 0.1 - Edit bugs fixed; disk label bug fixed.
  62.    o Version 0.2 - add capability to execute files or manual
  63.                    commands as if entered from DOS prompt line.
  64.    o Version 0.3 - add print capability; show number of files
  65.                    which are tagged; additional error checking;
  66.                    verify option on copy.
  67.    o Version 0.4 - added new Edit/View options; copy, squeeze,
  68.                    unsqueeze now run much faster; added basic
  69.                    telecommunications capability.
  70.    o Version 0.5C- previous versions written in Turbo Pascal 2.0;
  71.                    revisted/translated to "C", DeSmet ver. 2.3.
  72.                    Edit not supported yet under C; view is more
  73.                    basic.  Library functions expanded to include
  74.                    library creation & add/update library members.
  75.    o Version 0.6C- View now supports string search, paging, and
  76.                    automatically strips high-order bit, thus
  77.                    allowing WordStar file browsing.  Telecom
  78.                    expanded to handle some non-Hayes modems.
  79.                    ZIP LBR files now compatible with LUT, LUE,
  80.                    LUU, and LAR, and with some versions of LU86.
  81.                    ZIP will show LBR member file date & time, if
  82.                    available.  Copying speed increased 16 times.
  83.    o Version 0.7C- Screen editing now supported.
  84.  
  85.      When all bugs have been exterminated, the version level will
  86. then become 1.0.  Help me to do that!
  87.  
  88. 1.1     WARRANTY  &  GUARANTEE.
  89.  
  90.      There aren't any, implied or otherwise.
  91.  
  92.      The  author  is  not  responsible  for  possible  consequent
  93. damages  arising  out  of  the use of ZIP under any circumstances
  94. whatsoever.  Remittance or contribution shall not provide for any
  95. warranties  or  guarantees  of  performance or against consequent
  96. damages, implied or express or otherwise.
  97.  
  98. 1.2     DISTRIBUTION & COPYING.
  99.  
  100.      ZIP  may be freely used, distributed, and copied, as long as
  101. ZIP is only for personal (not commercial)  use;   and  that  this
  102. product  must  be  copied  and distributed as a complete package.
  103. This  includes  both  the  ZIP  program  (ZIPxxx.EXE)  and   this
  104. documentation file (ZIPxxx.DOC), where xxx is the current version
  105. number.  ZIP is copyrighted and may not be distributed if altered
  106. or  modified  in  any  way.  Finally, no fee is to be charged for
  107. copying  or  distributing  the  programs  without   the   written
  108. permission  of the author;  and commercial users should remit the
  109. $10 contribution (or actually  "fee"  in  this  case),  to  avoid
  110. possible legal hassles.
  111.  
  112.      In  short,  ZIP  may be copied and distributed to anyone who
  113. wishes it  as  long  as  it  is  a  complete  unmodified  package
  114. including  the  program  and documentation and no fee is charged;
  115. and freely used except in a commercial environment.  In  turn,  a
  116. small  contribution  of  about  $10.00  is  suggested  but please
  117. contribute  whatever  you  feel  the  program  is  worth.    Your
  118. contributions  will help offset development costs and thus assure
  119. future updates and products.
  120.  
  121.      However, for the contribution of $35, a DSDD  disk  will  be
  122. sent,   containing   the   latest   version   of   the   program,
  123. documentation, and complete source files.
  124.  
  125.      Even  if  you  don't  feel  that  the   program   merits   a
  126. contribution, please continue to copy and share this program with
  127. others.
  128.  
  129.  
  130.                               Edward V. Dong
  131.                               12205 Alexandria Place
  132.                               Chino, California 91710
  133.  
  134.  
  135. 1.3     REQUIRED CONFIGURATION
  136.  
  137.      ZIP needs the following environment:
  138.  
  139.         1. IBM PC or close clone
  140.         2. Color Graphic screen adapter
  141.         3. MS/PC-DOS 2.0 or 2.1
  142.         4. At least 128K (256K is recommended)
  143.  
  144.      For  best results, you should set CONFIG.SYS to "Files = 15"
  145. and "Buffers = 16", or greater.   Consult  your  DOS  manual  for
  146. details on the setup of CONFIG.SYS.  The "Buffers" statement will
  147. speed up disk  accesses,  especially  when  dealing  with  floppy
  148. drives.
  149.  
  150.      ZIP  won't  run  properly  on a PCJr, because display memory
  151. organization is different on a PCJr.  (Recent note:  I have  been
  152. informed  that  ZIP will display properly on a PCJr, but has some
  153. problems handling disk directories.) Since I don't have access to
  154. EGA or to an AT, there is no guarantee that ZIP will run on an AT
  155. or an EGA device.  If there is a demand for the use of ZIP on the
  156. PCJr, or EGA/AT, special versions will be written.
  157.  
  158.      ZIP should run under  MS-DOS  2.11  or  later.   For  speed,
  159. however,  of  display  generation,  ZIP has been customized to an
  160. IBM-PC, so it may not run on some PC clones which do not  support
  161. the same display generation capabilities.
  162.  
  163.      ZIP  makes  use  of  color,  and  assumes  a  color/graphics
  164. adapter.  ZIP does run on a color PC-3270 -- ZIP makes NO use  of
  165. any  true  graphics, and only assumes a color alphanumeric setup,
  166. with display memory  at  B8000H.   This  means  that  green/amber
  167. screen  monitors and IBM-style monochrome monitors cannot be used
  168. with ZIP.  Again, if there is a demand for ZIP on these  devices,
  169. special versions will be written.
  170.  
  171. 1.4     BUG REPORTS & OTHER COMMENTS.
  172.  
  173.      Address bug reports and  other  comments  (praise  won't  be
  174. unwelcome,  of course;  naturally, the highest praise being ca$h)
  175. to the above address.  E-Mail may be  addressed  at  the  present
  176. time  to  me  ("Edward  Dong")  via:
  177.  
  178.      Rod Bowman's "PC-Spectrum" IBMPC-RBBS
  179.      Chino, California
  180.      714-980-8607,
  181.      300/1200/2400 baud, 24 hrs/day.
  182.  
  183.      Matt Zilmer's FIDO
  184.      Claremont, California
  185.      714-626-1843
  186.      300/1200/2400 baud, 24 hrs/day.
  187.  
  188. 2.0     USING ZIP VERSION 0.7C
  189.  
  190.      All  you  have  to  do  is  type in:  ZIP.  A help screen is
  191. provided as a quick summary of the available functions.  A  brief
  192. discussion of these functions follows.
  193.  
  194. 2.1     Directory
  195.  
  196.      ZIP  immediately  displays  the  sorted  directory  for  the
  197. current drive, showing all files,  including  hidden,  read-only,
  198. and  system,  as  well  as directory and volume-label files.  The
  199. current attribute is shown next to the file name;   however,  for
  200. space considerations, only one attribute is shown at a time.
  201.  
  202.      These  are:   h(idden),  r(ead-only), s(ystem), d(irectory),
  203. and v(olume-label).
  204.  
  205.      By hitting ENTER when a high-lighted file is a  d(irectory),
  206. ZIP  will  put  you  into  that  directory,  and then display the
  207. contents of that directory.
  208.  
  209.      If you want to change drive, enter L for Login to new drive;
  210. ZIP  will  prompt for the new drive/directory.  When entered, the
  211. sorted directory for the new drive/directory, will be  displayed.
  212.  
  213.      NOTE:   If  you then chose to exit ZIP after Login, you will
  214.      be in that drive and/or directory.
  215.  
  216.      PgDn  and  PgUp can be used to scroll through the directory,
  217. if the total directory  cannot  be  fitted  to  the  current  CRT
  218. window.
  219.  
  220.      NOTES:  A simple sorting function  was  previously  used  in
  221.      ZIP, so it was rather slow for those systems with more  than
  222.      50-60  files.   This  has been corrected in the "C" version,
  223.      using Quick Sort.  The previous Pascal version used software
  224.      floating point for calculation of  file  sizes  larger  then
  225.      32767, which also made it  slower;   happily,  "C"  supports
  226.      LONG integers, so this has gone away.
  227.  
  228. 2.2     File Attributes
  229.  
  230.      As  you  may  or may not know, DOS generally marks each file
  231. with one or more attributes.  These are:
  232.  
  233.         o A(rchive):    If set, means this file has not been
  234.                         backed up.
  235.  
  236.         o D(irectory):  If set, means that this file constitutes
  237.                         a subdirectory with or without files in
  238.                         that subdirectory.
  239.  
  240.         o V(olume):     If set, means that the filename is the
  241.                         label for the disk in the current drive.
  242.  
  243.         o S(ystem):     If set, means it is a system file,
  244.                         like a device driver.
  245.  
  246.         o R(eadonly):   If set, means that the file cannot be
  247.                         deleted or modified.
  248.  
  249.         o H(idden):     If set, means that the file cannot be
  250.                         normally listed, deleted, copied, or
  251.                         read.
  252.  
  253.      ZIP provides through the "F"(ile) command, the means to read
  254. the  total  set of file attributes (some can be combined), and to
  255. set these attributes.   The  "V"  attribute  is  not  modifiable,
  256. however.
  257.  
  258.      When  ZIP  displays  the  sorted  directory for a drive, the
  259. highest priority file attribute is  displayed  (as  a  lower-case
  260. letter next to the file name).  The A(rchive) attribute, however,
  261. is NOT displayed (except through the "F"(ile) command), as nearly
  262. all files in a directory will likely have this on.
  263.  
  264. 2.3     Editing
  265.  
  266.      By using the cursor keys and/or PgDn/PgUp keys, you point to
  267. a high-lighted file shown on the directory display.  Then at  the
  268. command  prompt  (last line on the screen), enter "E".  This will
  269. put you into a screen editing mode for the high-lighted file.
  270.  
  271.      A brief command line description appears at  the  bottom  of
  272. the  screen, indicating the type of editing you can perform.  You
  273. can insert/delete lines;  insert/delete characters;   and  scroll
  274. back  and forth through the file.  The complete scroll capability
  275. is provided only if the entire file can fit  into  the  available
  276. memory.   If you have not much memory, then only a portion of the
  277. file can fit.
  278.  
  279.      While screen editing of files is supported by ZIP, you can't
  280. use  ZIP  to  create a new file to be edited.  This will probably
  281. change in the next version of ZIP.
  282.  
  283.      ZIP editing, like EDLIN or IBM's  Personal  or  Professional
  284. Editors,  performs  editing  in memory.  If the size of a file is
  285. larger than your available memory, the first segment of the  file
  286. is  loaded  for  editing.   When  you  finish  this segment, this
  287. segment is written to a temporary file called  ZIP.$$$,  and  the
  288. next segment is loaded.
  289.  
  290.      Once  a  segment  has  been written to ZIP.$$$, and the next
  291. segment is loaded for editing, you CAN'T go back  to  an  earlier
  292. segment.
  293.  
  294.      ZIP,  when  you  have  SAVEd  your  file, erases/deletes the
  295. original file, and then renames  ZIP.$$$  to  the  original  file
  296. name.   ZIP DOES automatically make a backup copy of the original
  297. file name, with the extension .BAK.  If another file of this name
  298. exists (*.BAK), it will be deleted and replaced.
  299.  
  300.      Editing files are limited to 78-character lines.  If a  file
  301. being edited is longer than 78 characters, the excess will NOT be
  302. displayed.  The resultant SAVEd file, however, will have the full
  303. string  --  you  just  cannot edit that portion of the line.  ZIP
  304. isn't intended to replace your standard editor or word processor;
  305. if it did, ZIP would have to be twice as large.
  306.  
  307.      Beginning with beta version 0.4, EDIT supports the following
  308. commands:
  309.  
  310.         F1 - Display list of EDIT/VIEW commands.
  311.         F2 - Find string, starting with current line to the
  312.              end of the current segment loaded.
  313.         F3 - Get/put -- writes current segment to disk, and
  314.              fetches the next segment.
  315.         F4 - Quit.  Same as END.
  316.         F5 - Insert new line (initialized to a single blank).
  317.         F6 - Delete current line.
  318.  
  319.         HOME - Go to top of current segment.
  320.         END  - Save or quit current EDITed file & terminate.
  321.  
  322.      Additionally, the top line  of  the  display  shows  current
  323. status  of  file, i.e., segment loaded, and number of total lines
  324. in that segment.
  325.  
  326.      NOTE:  Tab characters (which are expanded  under  VIEW)  are
  327.      not    expanded   under   EDIT.    They   will   appear   as
  328.      strange-looking  little  circles.   The   reason   for   not
  329.      performing the expansion is to show as much of the  line  as
  330.      possible for EDITing.
  331.  
  332. 2.4     Viewing
  333.  
  334.      By using the cursor keys and/or PgDn/PgUp keys, you point to
  335. a  high-lighted file shown on the directory display.  Then at the
  336. command prompt (last line on the screen), enter "V".   This  will
  337. put you into a full-screen browse or viewing for the high-lighted
  338. file.
  339.  
  340.      A brief command line description appears at  the  bottom  of
  341. the  screen,  indicating the commands you can enter:  PgUp, PgDn,
  342. HOME (to take you back to the top  of  the  file),  and  END  (to
  343. quit).  Scrolling is limited to paging forward or backward.
  344.  
  345.      Pressing  F2  invokes  a  string  search function.  ZIP will
  346. prompt for the string to find, and  will  attempt  to  find  this
  347. string,  searching  the entire file if necessary.  When the first
  348. occurrence is found, all occurrences of that string on the  given
  349. display page will be highlighted.
  350.  
  351.      If  you  are  past that displayed page, and wish to find the
  352. string again, press the letter A (upper or lower case).  ZIP will
  353. search for the next occurrence of the string.
  354.  
  355.      Viewing  files are limited to 80-character lines.  If a file
  356. being viewed is longer than 80 characters,  the  excess  will  be
  357. lopped  off  and  not  displayed.   Expressed another way, a file
  358. being viewed  of  length  greater  than  80  characters  will  be
  359. truncated  to  the  first 80 characters.  VIEW will automatically
  360. strip the high-order bit, so that WordStar files  can  be  viewed
  361. without modification or conversion.
  362.  
  363.      Beginning  with  version  0.7C, VIEW will also automatically
  364. expand tab  characters  found  into  the  appropriate  number  of
  365. blanks.   ZIP  assumes  that  tab's  are  meant  to space every 8
  366. characters, so if the file uses tab's to space a different number
  367. of characters, the display will look a little strange.
  368.  
  369. 2.5     Squeezing/Unsqueezing
  370.  
  371.      By using the cursor keys and/or PgDn/PgUp keys, you point to
  372. desired files shown on the directory display.  Then you press the
  373. space  bar  to  "mark"  or  "unmark"  the files.  Finally, at the
  374. command prompt (last line on the screen), enter "S" for squeezing
  375. the  file  or  "U" for unsqueezing ALL the marked files.  As each
  376. file is SQueezed or UnSQueezed, the bottom line  of  the  display
  377. will  show the operation(s) as each file is processed.  Beginning
  378. with version 0.7C, ZIP no longer  opens  a  window  to  show  the
  379. operation.
  380.  
  381. 2.6     Library
  382.  
  383. 2.6.1   Library List/Extract
  384.  
  385.      By using the cursor keys and/or PgDn/PgUp keys, you point to
  386. a high-lighted file shown on the directory display.  Then at  the
  387. command  prompt  (last line on the screen), enter "B" for liBrary
  388. functions.  ZIP will  open  a  new  window,  display  the  sorted
  389. directory  for  the  library  (LBR  file),  and  generate a brief
  390. command line at the bottom of the screen.
  391.  
  392.      Available options are displayed if you press the "?" key.
  393.  
  394.      Beginning  with version 0.65C, you can direct the extraction
  395. to another disk or directory, by pressing "C".  ZIP will ask  for
  396. the  new  disk/directory.   To  direct to C:\NEWDIR, for example,
  397. type
  398.      C:\NEWDIR\
  399. You MUST enter the second backslash.  To direct to another drive,
  400. say, B:, type
  401.      B:
  402. The colon is required.
  403.  
  404.      You can either Extract one or many LBR members, or Quit.  To
  405. extract  one  or  more  members, use the cursor/PgDn/PgUp keys to
  406. point to each member, and then use the  spacebar  to  mark/unmark
  407. the member for extraction.  When finished with the marking, enter
  408. "E", and each file will be extracted in turn.  ESC is accepted as
  409. Quit as well.
  410.  
  411.      If the LBR file has been created by ZIP 0.64 or later, or by
  412. any of Vern Buerg's LUU routines, ZIP will also show the creation
  413. date and time of the members of the LBR file.
  414.  
  415.      If  you  have  extracted  any  members, ZIP will re-read the
  416. current drive and provide a new sorted directory listing display.
  417.  
  418. 2.6.2   Library Create/Update
  419.  
  420.      You  can  create a library, and add members to this library,
  421. or to an existing library.
  422.  
  423.      To create a  library  or  to  add  members  to  an  existing
  424. library, you must first "mark" the files in the current directory
  425. to be added to that library.
  426.  
  427.      To  create,  point (via cursor and/or PgDn/PgUp keys) to any
  428. file in the directory which is NOT a library file.  Then  at  the
  429. command  prompt  (last line on the screen), enter "A" for library
  430. Add-member functions.  ZIP will ask  if  you  want  to  create  a
  431. library (because the current file is NOT a library file);  and if
  432. so, will ask what name you  want  to  give  it.   If  it  can  be
  433. created, then ZIP will automatically add the files which you have
  434. marked, to that library.  The library name can  include  optional
  435. drive  and  directory,  to  build  an  LBR on another disk and/or
  436. directory.  You must then enter the COMPLETE file  name  for  the
  437. desired LBR.
  438.  
  439.      To  add  members  to  an existing library, simply point to a
  440. file which IS a library file.  Then proceed as above.
  441.  
  442.      That's all there is to it.
  443.  
  444. 2.7     Copying/Printing/Deleting
  445.  
  446.      By using the cursor keys and/or PgDn/PgUp keys, you point to
  447. a  high-lighted  file  shown  on the directory display.  Then you
  448. "mark" the file by using the spacebar.  You toggle the "mark" off
  449. or  on, with the spacebar.  When finished with the marking, enter
  450. "C" for Copy, or "D" for Delete, or (beginning with beta  version
  451. 0.3) "P" for Print.
  452.  
  453.      C(opy)  will  ask  for  the new drive/directory to which the
  454. files are to be  copied  to;   with  appropriate  error  messages
  455. sounded  with  a  beep.   Beginning with beta version 0.3, C(opy)
  456. will prompt for a VERIFY.  The VERIFY uses DOS's verify  function
  457. on disk writes.  The VERIFY is either enabled or disabled for the
  458. multiple files "marked" with the spacebar.
  459.  
  460.      NOTE:  When copying to a new drive, you can specify only the
  461.      drive  letter.   ZIP  will  copy  the  file(s)  to  the root
  462.      directory on that drive.
  463.  
  464.      NOTE:  When copying  to  a  new  drive/directory  or  a  new
  465.      directory  (the  drive  letter  will  default to the current
  466.      Login  disk  drive),  you  MUST enter a second backslash (as
  467.      explained under the Library functions).
  468.  
  469.      D(elete) will first prompt if you really want to perform the
  470. deletion, and then ALL the marked files will be  deleted.   There
  471. is NO undelete function in ZIP.
  472.  
  473.      P(rint)   will   print   all   marked   files  in  sequence,
  474. automatically doing a page eject between file printouts.  You can
  475. embed  your  printer's  command codes into the files if you wish,
  476. but you have to do this with a non-ZIP editor or word  processor.
  477. ZIP performs NO formatting.
  478.  
  479. 2.8     Command/File Execution
  480.  
  481.      Beginning with beta version 0.2,  ZIP  supports  the  direct
  482. execution  of  a  file (.BAT, .COM, or .EXE) by using the cursor,
  483. PgDn, PgUp keys to high-light  a  file  present  in  the  current
  484. displayed directory;  and then entering "X" at the prompt.
  485.  
  486.      You  can  also enter a command as if from the DOS prompt, by
  487. entering "I" at the ZIP  command  line  prompt.   ZIP  will  then
  488. prompt  for  the  DOS  or  other  command  you  wish to enter.  A
  489. carriage return,  with  no  other  keys  struck,  will  take  you
  490. immediately out of the DOS command mode, back to ZIP.
  491.  
  492.      ZIP  will  initiate  the  command  or  execute  the file, as
  493. follows.  The CRT will be cleared, the command or file  executed,
  494. and then a prompt message will appear to take you back to ZIP.
  495.  
  496.      WARNING:   ZIP  uses COMMAND.COM as both a basic file loader
  497.      (when you are using the "X"  command)  and  DOS  interpreter
  498.      (when you are using the "I" command).  ZIP will search the
  499.      root directories in drives F through A (starting with F)  to
  500.      find  COMMAND.COM.   If this file is NOT there, ZIP won't be
  501.      able to perform a DOS command.
  502.  
  503.      An error message will be generated, if it's not possible  to
  504. execute  the  command  or  file.   This will be because:  (1) you
  505. don't have enough memory to run ZIP and to execute the file -- in
  506. which  you  have to Q(uit) ZIP to run that file;  or (2) the file
  507. selected or command  entered  are  not  valid,  legal  executable
  508. file(s)/command(s).
  509.  
  510.      POSSIBLE GLITCHES:  DOS may freeze up if there is not enough
  511.      memory  to  execute  the command, or if the command clobbers
  512.      memory  that  does  not  belong  to  it.   In these cases, a
  513.      re-boot is needed.
  514.  
  515. 2.9     Telecommunications
  516.  
  517.      Beginning with beta version 0.4, ZIP supports basic 300/1200
  518. BPS  ASCII/Xmodem  telecommunications.  To enter this mode, enter
  519. "T" at the ZIP prompt.
  520.  
  521.      NOTE:   Beginning  with  ZIP  0.63C,  ZIP will automatically
  522.      switch to an  alternate  modem  communications  routine  for
  523.      certain non-Hayes modems.  A brief message will be displayed
  524.      when this occurs.
  525.  
  526.      The screen will clear, and then present  a  command  summary
  527. for  this  mode  in  the  upper  part of the screen.  You will be
  528. prompted for communications  parameters  to  be  set;   ZIP  will
  529. automatically  set defaults to COM1 (communications port 1), 1200
  530. BPS, No parity, 8 data bits, 1 stop bit, and local  echo.   Local
  531. echo  causes everything you type to be "echoed", i.e., displayed.
  532. Turn the local echo off or on, via function key F9, if the remote
  533. host  computer  to  whom  you're  communicating, uses full-duplex
  534. (i.e., the host will echo your inputs for you).
  535.  
  536.      WARNING:  For this  C  version  of  ZIP,  telecommunications
  537.      presently  is  limited  to  COM1.   Please do not try to use
  538.      COM2.
  539.  
  540.      The command summary is fairly clear:
  541.  
  542.   o  COLLECT TEXT allows you to capture  ASCII  (text)  files  or
  543.      other text output from the remote host computer, into a file
  544.      of your choosing.
  545.  
  546.   o  SEND TEXT allows you to send text files to the remote  host.
  547.      However,  ZIP  does NOT implement "Pacing" characters in the
  548.      mode  of  PC-TALK or QMODEM;  and will send the file as fast
  549.      as it can.
  550.  
  551.   o  SEND  XMODEM  and  RECEIVE  XMODEM  transfers  files via the
  552.      Xmodem/Checksum  method,  which is standard for most RBBS's.
  553.      A  window,  set  off  in  white  on blue, will be generated,
  554.      showing the Xmodem transaction.
  555.  
  556.   o  RETURN TO ZIP suspends the telecommunications  session,  but
  557.      does not hang up the telephone.  You should still be on-line
  558.      after you do whatever it was you wanted to do  in  ZIP,  and
  559.      return to telecommunications.
  560.  
  561.   o  QUIT disables the selected COM port, and returns you to ZIP.
  562.      You won't be on-line.
  563.  
  564.      In   order   to   incorporate   ZIP-TERM   (ZIP's   terminal
  565. telecommunications mode), ZIP does NOT provide the full  features
  566. of  CrossTalk,  PC-TALK, or QMODEM, or any commercially available
  567. telecommunications program.
  568.  
  569.      You MUST use your modem's command set (such as  ATDT  <phone
  570. number> for a Hayes-compatible modem), if you have a smart modem.
  571. However, if you have a smart modem, an acceptable substitute  for
  572. these  functions  is  to SEND_TEXT for the commands particular to
  573. your modem.  For Hayes and Hayes-compatible modems, remember that
  574. the  text file sent must NOT have an embedded line feed character
  575. in it (i.e., decimal 10, or hex 0A), as this will be  interpreted
  576. by the modem as a keyboard abort of the command string.
  577.  
  578.      Auto-dialing,  redialing,  hanging  up, etc., are simply NOT
  579. supported, as are not pacing, translation, color/music  graphics,
  580. etc.
  581.  
  582.      Color/graphics  are  supported  if your system has installed
  583. ANSI.SYS (or equivalent), and if the remote host  is  using  ANSI
  584. ESCape  sequences.   Music,  however,  whether or not ANSI.SYS is
  585. installed, is simply NOT supported.
  586.  
  587. 2.10    Hexadecimal Dump
  588.  
  589.      Beginning with beta version 0.5C, ZIP provides a mainframe -
  590. style hexadecimal/ASCII dump of the current file.   The  contents
  591. of  the file will be displayed in hexadecimal, 16 bytes per line,
  592. plus  printable  ASCII  equivalents.   If  the  byte  cannot   be
  593. displayed  as a printable ASCII symbol, then it will be displayed
  594. as ".".
  595.  
  596. 3.0     CREDIT WHERE CREDIT IS DUE
  597.  
  598.      The  following  describes  where some of the features in ZIP
  599. originated.   ZIP  would  not  be  possible  except  for  various
  600. authors,  known and unknown, who contributed their source code to
  601. the public domain.  As a result, this  section  is  dedicated  to
  602. selfless  programmers  (CPM and MS/PC-DOS) noted here, and to all
  603. those who contribute to the public domain.
  604.  
  605. Windowing
  606. ---------
  607.  
  608.      Some of the windowing and  fast  pop/push  screen  functions
  609. were  derived  from a program called WINDOW.LBR, by R.  McVay.  I
  610. modified it considerably to make it much faster,  by  customizing
  611. it for the IBM PC color/graphics adapter.
  612.  
  613. Directory Listing
  614. -----------------
  615.  
  616.      The  basic  directory  function  is  a  "C"  translation  of
  617. DIRSRCH.PAS by Jim Holtman.  ZIP's version adds sorting and  fast
  618. display  capabilities.   While  ZIP  is  running, assuming enough
  619. memory is available, it maintains the complete directory  listing
  620. in memory.
  621.  
  622. Squeeze/Unsqueeze
  623. -----------------
  624.  
  625.      The  squeeze  and  unsqueeze  functions are based on Richard
  626. Greenlaw's "C" versions.
  627.  
  628. Library (LBR) Functions
  629. -----------------------
  630.  
  631.      The  library  functions  are  based  on  various   assembler
  632. versions  written  originally  by  Vernon  Buerg,  but mostly  on
  633. Tom Jennings' LU.C.
  634.  
  635. Command/File Execution
  636. ----------------------
  637.  
  638.      ZIP uses the DeSmet built-in EXEC function.   I've  added  a
  639. shell  around this, to search for COMMAND.COM.  Unfortunately, at
  640. the present time, DeSmet C does not allow  me  to  read  the  DOS
  641. environment  directly (which indicate what COMMAND.COM DOS thinks
  642. should be used).
  643.  
  644. Telecommunications
  645. ------------------
  646.  
  647.      ZIP-TERM, ZIP's telecommunications, is based on earlier work
  648. done by a number of individuals, including Alan Bishop.  The bulk
  649. of ZIP-TERM is based on Phillip R.  Burns'  PIBTERM  of  January,
  650. 1985.   Mr.   Burns  designed an Xmodem protocol in Turbo Pascal,
  651. which was adapted and heavily  modified  (i.e.,  optimized);   he
  652. also  provided  the  Xmodem/CRC  methodology  also.  PIBTERM also
  653. provided a VT-52 emulation, which is rather neat.  The windowing,
  654. command  set  used  in ZIP-TERM, and ZIP interfaces are solely E.
  655. Dong's.
  656.  
  657.      The  basic  asynchronous  communciations  interrupt  handler
  658. routines  are  based  on a set of Lattice C callable functions to
  659. support interrupt driven character I/O on the IBM PC,  originally
  660. written by Curt Klinsing, which I converted to DeSmet C v2.3. The
  661. following notes are mine.
  662.  
  663.      All data  is  in  the  code  segment,  since  ASM88  (DeSmet
  664. assembler)  doesn't  allow  multiple segments other than DSEG and
  665. CSEG.  Attempts to put data into DSEG fail to work, because there
  666. is no way of setting the DS register properly via ASM88.
  667.  
  668.                                                                           
  669. Other ZIP Functions
  670. -------------------
  671.  
  672.      All  other  functions are solely the creation of the author,
  673. Edward V Dong.  These are:
  674.  
  675.         o Change Directory function.
  676.         o Screen Edit function (C and Pascal versions only).
  677.         o Hex dump function (C versions only).
  678.         o Full-screen Browse/View function.
  679.         o Fast disk access.
  680.         o Copy/Delete/Print function.
  681.  
  682. plus,   of   course,  the  total  integration  package  that  ZIP
  683. represents.
  684.  
  685.